package com.zzxy.spring1.service.impl;

import com.zzxy.spring1.dao.ITeacherDao;
import com.zzxy.spring1.service.ITeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl implements ITeacherService {


    @Autowired
    private ITeacherDao teacherDao;

/*    public ITeacherDao getTeacherDao() {
        return teacherDao;
    }

    public void setTeacherDao(ITeacherDao teacherDao) {

        this.teacherDao = teacherDao;
    }*/

    @Override
    public void addTeacher() {

    }

    @Override
    public void updateTeacher() {

    }

    @Override
    public void deleteTeacher() {

    }

    @Override
    public void registerTeacher() {
        //dao
        teacherDao.registerTeacher();
    }
}
